<template>
  <div class="dify-page">
    <div class="hero">
      <h2 class="title">ERP系统智能助手 · Dify AI</h2>
      <p class="subtitle">为您提供智能解答ERP系统的各种问题与业务协同支持</p>
    </div>

    <div class="iframe-card">
      <div class="iframe-wrap">
        <iframe
          src="https://udify.app/chat/7RpcslcTP4QWrJlz"
          style="width: 100%; height: 100%; min-height: 700px"
          frameborder="0"
          allow="microphone"
        >
        </iframe>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
// 本页仅嵌入第三方对话机器人
</script>

<style scoped>
.dify-page {
  padding: 16px 20px 24px 20px;
  min-height: 100%;
  background: linear-gradient(135deg, #f6f9ff 0%, #f9fbff 40%, #ffffff 100%);
}

.hero {
  text-align: center;
  margin-bottom: 16px;
}
.title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1f2d3d;
}
.subtitle {
  margin-top: 8px;
  color: #606266;
  font-size: 13px;
}

.iframe-card {
  margin: 0 auto;
  max-width: 1200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef1f5;
  overflow: hidden;
}

.iframe-wrap {
  width: 100%;
  height: 100%;
  min-height: 720px;
  background: radial-gradient(circle at 20% 20%, #f7fbff 0%, #ffffff 60%);
}

@media (max-width: 1280px) {
  .iframe-card {
    max-width: 100%;
  }
}
</style>



